#ifndef ROUND_H
#define ROUND_H


/*
 * \class Round 表示游戏的每一次抢答轮，其包含了每轮抢答的问题、选项、答案。
 *
 */

#include <QObject>

class Round
{
public:
    explicit Round();

    Round(const QString &question, const QString &option1, const QString &option2, const QString &option3, int rightIndex);
    Round(const QString &question, const QString &option1, const QString &option2, const QString &option3, const QString &option4, int rightIndex);

    QString question() const;
    int     optionNumber() const;
    int     rightOptionIndex() const;
    QString optionAt(int index) const;


private:
    QString     m_question;
    QStringList m_options;
    int         m_rightOptionIndex;
};

#endif // ROUND_H
